<?php
header('content-type:text/html;charset=utf8');
$username=$_POST['username'];
$pwd=$_POST['pwd'];
$yzm=$_POST['yzm'];
session_start();
$_SESSION['c']=1;
if($username=='jiaoli'&&$pwd=='jiaoli'&&$yzm==$_SESSION['yzm']){
    echo "<script>alert('登录成功！');window.location.href='/admin/articlelist/design.php'</script>";
}else{
    echo "<script>alert('登录失败！');window.location.href='/admin/login/login.php'</script>";
}






